package com.hzdl.cinema.dao;

import com.hzdl.cinema.domain.Studio;

import java.util.List;

public interface StudioDao {
    List<Studio> findAll();

    Studio findStudioById(int studioId);

    Studio findStudioByName(String studioName);

    void addStudio(String studioName, Integer studioColcount, Integer studioRowcount);

    void editStudio(int studioId,String studioName, Integer studioColcount, Integer studioRowcount);

    void deleteStudioById(int studioId);

    Studio searchStudioByName(String studioName);

    Studio findMyStudio(Integer studioId);
	
	  void modifyStudioName(Integer scheduleId, String studioName);

    int findIdByName(String studioName);
}
